package com.fh.shop.api.exception;

import com.fh.shop.api.common.ServerResponse;

public class StockException extends RuntimeException{

    private ServerResponse response;

    public StockException(ServerResponse response) {
        this.response = response;
    }

    public ServerResponse getResponse() {
        return response;
    }
}
